//
//  SHChangeCardHeaderView.m
//  JiFengDaRen
//
//  Created by SH_iOS on 2017/10/17.
//  Copyright © 2017年 SH_iOS. All rights reserved.
//

#import "SHChangeCardHeaderView.h"
@interface SHChangeCardHeaderView()
@property(nonatomic,strong)SHLabel *labeltext;

@end
@implementation SHChangeCardHeaderView


- (instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        
        
      
        self.backgroundColor = KBASEBGCOLOR;
        
       
        _labeltext = [SHLabel labelWithTextFont:14 textColor:KSHTEXTCOLOR textAlignment:NSTextAlignmentLeft];
       
        [self addSubview:_labeltext];
//        [_labeltext mas_makeConstraints:^(MASConstraintMaker *make) {
//            make.right.equalTo(self.mas_right).offset(__I6Width(40));
//            make.centerY.equalTo(self);
//            
//
//            
//        }];
        
    }
    return self;
}
- (void)setHeaderTitle:(NSString *)headerTitle{
    
    _labeltext.text = headerTitle;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
